package com.huatai.dataservice.panel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 安检设备定位
 * </p>
 *
 * @author lxc
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_rt_security_device_gps_dd")
@ApiModel(value="TbRtSecurityDeviceGpsDd对象", description="安检设备定位")
public class TbRtSecurityDeviceGpsDd implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "试验id（trialId）")
    private String trialId;

    @ApiModelProperty(value = "时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss SSS")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss SSS",
            timezone = "GMT+8"
    )
    private Date time;

	@ApiModelProperty(value = "09发送时间")
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss",
		timezone = "GTM+8"
	)
	@TableField(value = "sendTime")
	private Date sendTime;

	@ApiModelProperty(value = "纬度(度)")
	@TableField(value = "latitude")
	private String latitude;

	@ApiModelProperty(value = "经度(度)")
	@TableField(value = "longitude")
	private String longitude;

	@ApiModelProperty(value = "航向(度)")
	@TableField(value = "course")
	private String course;

	@ApiModelProperty(value = "纵摇(度)")
	@TableField(value = "pitch")
	private String pitch;

	@ApiModelProperty(value = "横摇(度)")
	@TableField(value = "rolling")
	private String rolling;

	@ApiModelProperty(value = "航向角速度 (度/秒)")
	@TableField(value = "courseVelocity")
	private String courseVelocity;

	@ApiModelProperty(value = "纵摇角速度 (度/秒)")
	@TableField(value = "pitchVelocity")
	private String pitchVelocity;

	@ApiModelProperty(value = "横摇角速度 (度/秒)")
	@TableField(value = "rollingVelocity")
	private String rollingVelocity;

	@ApiModelProperty(value = " 升沉速度 m/s")
	@TableField(value = "verticalVelocity")
	private String verticalVelocity;

	@ApiModelProperty(value = "北向速度 节")
	@TableField(value = "northVelocityKn")
	private String northVelocityKn;

	@ApiModelProperty(value = "东向速度 节")
	@TableField(value = "eastVelocityKn")
	private String eastVelocityKn;

    /*@ApiModelProperty(value = "纬度(度)")
    private String latitude;

    @ApiModelProperty(value = "经度(度)")
    private String longitude;

    @ApiModelProperty(value = "航向(度)")
    private String course;

    @ApiModelProperty(value = "纵摇(度)")
    private String pitch;

    @ApiModelProperty(value = "横摇(度)")
    private String rolling;

    @ApiModelProperty(value = "航向角速度 (度/秒)")
    private String courseVelocity;

    @ApiModelProperty(value = "纵摇角速度 (度/秒)")
    private String pitchVelocity;

    @ApiModelProperty(value = "横摇角速度 (度/秒)")
    private String rollingVelocity;

    @ApiModelProperty(value = " 升沉速度 m/s")
    private String verticalVelocity;

    @ApiModelProperty(value = "北向速度 节")
    private String northVelocityKn;

    @ApiModelProperty(value = "东向速度 节")
    private String eastVelocityKn;*/


}
